package com.snowRemovingUser.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * 设备属性对象 m_device_attribute
 *
 * @author liguang
 * @date 2023-05-14
 */
@Data
@AllArgsConstructor
@NoArgsConstructor
public class MDeviceAttribute extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 设备MAC */
    @Excel(name = "设备MAC")
    private String serialNumber;

    /** 设备类型 */
    @Excel(name = "设备类型")
    private String deviceType;

    /** 属性id */
    @Excel(name = "属性id")
    private String attributeId;

    /** 属性名 */
    @Excel(name = "属性名")
    private String attributeName;

    /** 属性值 */
    @Excel(name = "属性值")
    private String attributeValue;

    /** 单位 */
    @Excel(name = "单位")
    private String attributeUnit;

    /** 属性状态 */
    @Excel(name = "属性状态")
    private Integer attributeStatus;

    /** 更新数据时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "异常时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date attributeDate;


}
